/**
 * 
 */
package org.nanhill.commons.pattern.flow;

/**
 * @author alin [xalinx at gmail dot com]
 * @date 2007-1-3
 */
public interface ActionState extends State {

	/**
	 * Get action.
	 * 
	 * @return action name.
	 */
	Action getAction();

	State getOkState();

	State getErrorState();

	void setOkState(State okState);

	void setErrorState(State errorState);

}
